package com.bbkb.quartz.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
public class TestController {

    @RequestMapping("test1")
    public String test1() {
        return "test1";
    }

    @GetMapping("test2")
    public Date test1(Date date) {
        return date;
    }
}
